package pi.servlets.com;

import java.io.Serializable;

public class Usuario implements Serializable{
	
	private static final long serialVersionUID = 1L;
	String nombre,surname,nick;
	String password,secretQuestion,secretAnswer;
	String address,zipCode,city,state,country,email,telephone,sipAddress,retorno;
	int idUser,idUserConductor;
	boolean encontrado;
	public Usuario(String nom,String apel,String nic, String pass, String secretQ, String secretA, 
			            String addr,String tele,  String ciudad, String estado, String pais, String zip, String sipA, String mail,int id, boolean enc){
		nombre=nom;
		surname=apel;
		nick=nic;
		password=pass;
		secretQuestion=secretQ;
		secretAnswer=secretA;
		address=addr;
		zipCode= zip;
		city=ciudad;
		state=estado;
		country=pais;
		email=mail;
		telephone=tele;
		sipAddress=sipA;
		idUser=id;
		encontrado=enc;
		
		
	}
	public Usuario(){
		
	}
	public Usuario(int id){
		idUser=id;
	}
	public void setNombre(String nom){
		nombre=nom;
	}
	public String getNombre(){
		return nombre;
	}
	public void setSurname(String apel){
		surname=apel;
	}
	public String getSurname(){
		return surname;
	}
	public void setNick(String nic){
		nick=nic;
	}
	public String getNick(){
		return nick;
	}
	public void setPassword(String pass){
		password=pass;
	}
	public String getPassword(){
		return password;
	}
	public void setSecretQuestion(String secretQ){
		secretQuestion=secretQ;
	}
	public String getSecretQuestion(){
		return secretQuestion;
	}
	public void setSecretAnswer(String secretA){
		secretAnswer= secretA;
	}
	public String getSecretAnswer(){
		return secretAnswer;
	}
	public void setAddress(String addr){
		address=addr;
	}
	public String getAddress(){
		return address;
	}
	public void setZipCode(String zip){
		zipCode=zip;
	}
	public String getZipCode(){
		return zipCode;
	}
	public void setCity(String ciudad){
		city=ciudad;
	}
	public String getCity(){
		return city;
	}
	public void setState(String estado){
		state=estado;
	}
	public String getState(){
		return state;
	}
	public void setCountry(String pais){
		country=pais;
	}
	public String getCountry(){
		return country;
	}
	public void setEmail(String mail){
		email=mail;
	}
	public String getEmail(){
		return email;
	}
	public void setTelephone(String tele){
		telephone=tele;
	}
	public String getTelephone(){
		return telephone;
	}
	public void setSipAddress(String sipA){
		sipAddress=sipA;
	}
	public String getSipAddress(){
		return sipAddress;
	}
	public boolean getEncontrado(){
		return encontrado;
	}
	public int getIdUser(){
		return idUser;
	}

	public String getRetorno() {
		return retorno;
	}

	public void setRetorno(String retorno) {
		this.retorno = retorno;
	}

	public void setIdUser(int idUser) {
		this.idUser = idUser;
	}

	public void setEncontrado(boolean encontrado) {
		this.encontrado = encontrado;
	}
	public int getIdUserConductor() {
		return idUserConductor;
	}
	public void setIdUserConductor(int idUserConductor) {
		this.idUserConductor = idUserConductor;
	}
}
